import Vue from 'vue'
import App from './App.vue'
import router from "@/router/index"


Vue.config.productionTip = false



new Vue({
    router,
    render: h => h(App),
}).$mount('#app')

import Router from 'vue-router'

const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
    return originalPush.call(this, location).catch(err => err)
}